package com.wy.service;

import com.wy.bean.Brand;
import com.wy.bean.Shop;
import com.wy.dao.ShopDao;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class ShopServicelmpl implements ShopService {
    @Resource
    private ShopDao shopDao;

    @Override
    public void insert(Brand brand) {
        shopDao.insert(brand);
    }

    @Override
    public void insertbth(Shop shop) {
        shopDao.insertbth(shop);
    }

    @Override
    public List<Brand> getlist() {
        return shopDao.getlist();
    }

    @Override
    public List<Shop> getShoplist(String bid) {
        return shopDao.getShoplist(bid);
    }
}
